import java.util.Arrays;
import java.util.List;
import java.util.Map;

public class Student {
    private Integer num;
    private String name;
    private String age;
    private String sex;
    private Teacher teacher;
    private String[] hobby;
    private List<Course> courses;
    private Map<String,Course> mp;

    public void setMp(Map<String, Course> mp) {
        this.mp = mp;
    }

    public void setNone(String none) {
        None = none;
    }

    private String None;
    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public String[] getHobby() {
        return hobby;
    }

    public void setHobby(String[] hobby) {
        this.hobby = hobby;
    }

    public List<Course> getCourses() {
        return courses;
    }

    public void setCourses(List<Course> courses) {
        this.courses = courses;
    }

    @Override
    public String toString() {
        return "Student{" +
                "num=" + num +
                ", name='" + name + '\'' +
                ", age='" + age + '\'' +
                ", sex='" + sex + '\'' +
                ", teacher=" + teacher +
                ", hobby=" + Arrays.toString(hobby) +
                ", courses=" + courses +
                ", mp=" + mp +
                ", None='" + None + '\'' +
                '}';
    }
}
